package com.bai.websocketandmybatisplus.mapper;

import com.bai.websocketandmybatisplus.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("SELECT count(*) FROM t_user")
    public Integer selectAllCount();

}
